<template>
	<div id="app">
		<router-view />
		
		<!-- 音频实例 -->
		<com-audio ref="audio"></com-audio>
	</div>
</template>
<script>
	import comAudio from "@/components/Audio"
	export default {
		name: 'App',
		components:{
			comAudio
		},
		data(){
			return{
				time: null,
				times: 0
			}
		},
		metaInfo() {
			return {
				title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
				titleTemplate: title => {
					return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
				},
			}
		},
		created() {
		}
	}
</script>
